package com.study.spring.boot.model.error;

import lombok.Data;

/**
 * @ClassName: ErrorMsg
 * @Description: TODO
 * @author: limingxing
 * @Date: 2021/1/10  17:44
 */
public class ErrorMsg {
    /** 错误码 */
    private String code;
    /** 消息 */
    private String message;

    public ErrorMsg(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public ErrorMsg() {
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
